// // ******************************************************************
// //       /\ /|       @file       GetMediaListQuery.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2024-12-26 10:12
// //    *(__\_\        @Copyright  Copyright (c) , 2024-12-26 10:12 Await
// // ******************************************************************

using AutomaticSubtitles.Contracts.Dto;

namespace AutomaticSubtitles.Service.Application.Media.Queries;

/// <summary>
/// 获取媒体列表查询
/// </summary>
public record GetMediaListQuery(
    int PageIndex = 1,
    int PageSize = 10,
    int MediaType = 0,
    string? Name = null,
    string? SortField = null,
    bool SortOrder = true
    ) : Query<PaginatedResponseDto<MediaDto>>
{
    public override PaginatedResponseDto<MediaDto> Result { get; set; }
}